Skip to main content
Developer

ID-Card API Documentation#

View as Markdown
On this page

We provide a test-environment for Merchants to test the integration. It includes test users with different age and genders, so that we can generate QRCodes for testing purposes.

Session Response Model#

We only return the data requested by the scope provided in the access token. The content of the response model will then very depending on the Merchants needs, but a full model looks like this:

Here is a table of what you can expect to be returned depending on your scope. All properties will be returned at all times, but the value will be empty if its not part of your scope.

NameTypeDescriptionage_onlyidentity_basicpicture_ageidentity_fullphone_number
firstNamestringFirst name❌✅❌✅❌
lastNamestringLast name❌✅❌✅❌
documentPhotostring (base64)Identity document's photograph❌❌✅✅❌
agestringAge of user✅✅✅✅❌
phoneNumberstringPhone number with country code (47)❌❌❌❌✅

Environments#

ID-Card API is available through different base URLs for our different environments. To access the API, combine the base URL + endpoint like this: base URL + /api/merchant/session/.

Environment URLs - Test#

  • ID-Card Base URL: https://visleg-test-merchantservice-cnhvehb0cvdgggah.z01.azurefd.net
  • BankID OIDC Config: https://auth.current.bankid.no/auth/realms/current/.well-known/openid-configuration

Environment URLs - Production#

  • ID-Card Base URL: SENT PRIVATELY
  • BankID OIDC Config: https://auth.bankid.no/auth/realms/prod/.well-known/openid-configuration

Merchant Integration API#

Was this page helpful?